﻿using System;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Net.Security;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SL.M.Net
{
    static class Util
    {

        public static X509Certificate2 GetSslCertificate()
        {
            Assembly assembly = Assembly.GetExecutingAssembly();
            return new X509Certificate2(assembly.ManifestModule.GetSignerCertificate());
        }
    }
}
